#if !defined(AFX_DLGREPLACE_H__887E6761_3B46_4531_ACFE_0CC75A2F7514__INCLUDED_)
#define AFX_DLGREPLACE_H__887E6761_3B46_4531_ACFE_0CC75A2F7514__INCLUDED_

#include "ColorCombo.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgReplace.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgReplace dialog

class CDlgReplace : public CDialog
{
// Construction
public:
	CDlgReplace(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgReplace)
	enum { IDD = IDD_REPLACE };
	CStatic	m_lblColor;
	CButton	m_chkHighlightSense;
	CStatic	m_lblBackgroundTo;
	CStatic	m_lblBackground;
	CEdit	m_txt2;
	CEdit	m_txt1;
	CColorCombo	m_cbFore2;
	CColorCombo	m_cbFore1;
	CColorCombo	m_cbBack2;
	CColorCombo	m_cbBack1;
	int		m_nRange;
	CString	m_sText1;
	CString	m_sText2;
	int		m_nBack1;
	int		m_nBack2;
	int		m_nFore1;
	int		m_nFore2;
	int		m_nColorReplaceMode;
	BOOL	m_bHighlightSense;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgReplace)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	void UpdateColorReplaceModeControls();

	// Generated message map functions
	//{{AFX_MSG(CDlgReplace)
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnBtnReplace();
	afx_msg void OnOptColorReplaceModeChange();
	afx_msg void OnChkHighlightSense();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGREPLACE_H__887E6761_3B46_4531_ACFE_0CC75A2F7514__INCLUDED_)
